phidget21.phidgets.phidifkit

This file is part of libphidget21

Copyright 2006-2015 Phidgets Inc <patrick@phidgets.com>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <http://www.gnu.org/licenses/>

Members

Aliases

CPhidgetInterfaceKitHandle
alias CPhidgetInterfaceKitHandle = _CPhidgetInterfaceKit*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetInterfaceKit_set_OnInputChange_Handler_Func
alias CPhidgetInterfaceKit_set_OnInputChange_Handler_Func = int function(CPhidgetInterfaceKitHandle phid, void* userPtr, int index, int inputState)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetInterfaceKit_set_OnOutputChange_Handler_Func
alias CPhidgetInterfaceKit_set_OnOutputChange_Handler_Func = int function(CPhidgetInterfaceKitHandle phid, void* userPtr, int index, int outputState)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetInterfaceKit_set_OnSensorChange_Handler_Func
alias CPhidgetInterfaceKit_set_OnSensorChange_Handler_Func = int function(CPhidgetInterfaceKitHandle phid, void* userPtr, int index, int sensorValue)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static variables

CPhidgetInterfaceKit_create
int function(CPhidgetInterfaceKitHandle* phid) CPhidgetInterfaceKit_create;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CPhidgetInterfaceKit_getDataRate
int function(CPhidgetInterfaceKitHandle phid, int index, int* milliseconds) CPhidgetInterfaceKit_getDataRate;

Gets the Data rate for an analog input.

CPhidgetInterfaceKit_getDataRateMax
int function(CPhidgetInterfaceKitHandle phid, int index, int* max) CPhidgetInterfaceKit_getDataRateMax;

Gets the maximum supported data rate for an analog input.

CPhidgetInterfaceKit_getDataRateMin
int function(CPhidgetInterfaceKitHandle phid, int index, int* min) CPhidgetInterfaceKit_getDataRateMin;

Gets the minimum supported data rate for an analog input.

CPhidgetInterfaceKit_getInputCount
int function(CPhidgetInterfaceKitHandle phid, int* count) CPhidgetInterfaceKit_getInputCount;

Gets the number of digital inputs supported by tehis board.

CPhidgetInterfaceKit_getInputState
int function(CPhidgetInterfaceKitHandle phid, int index, int* inputState) CPhidgetInterfaceKit_getInputState;

Gets the state of a digital input.

CPhidgetInterfaceKit_getOutputCount
int function(CPhidgetInterfaceKitHandle phid, int* count) CPhidgetInterfaceKit_getOutputCount;

Gets the number of digital outputs supported by this board.

CPhidgetInterfaceKit_getOutputState
int function(CPhidgetInterfaceKitHandle phid, int index, int* outputState) CPhidgetInterfaceKit_getOutputState;

Gets the state of a digital output.

CPhidgetInterfaceKit_getRatiometric
int function(CPhidgetInterfaceKitHandle phid, int* ratiometric) CPhidgetInterfaceKit_getRatiometric;

Gets the ratiometric state for this board.

CPhidgetInterfaceKit_getSensorChangeTrigger
int function(CPhidgetInterfaceKitHandle phid, int index, int* trigger) CPhidgetInterfaceKit_getSensorChangeTrigger;

Gets a sensor change trigger.

CPhidgetInterfaceKit_getSensorCount
int function(CPhidgetInterfaceKitHandle phid, int* count) CPhidgetInterfaceKit_getSensorCount;

Gets the number of sensor (analog) inputs supported by this board.

CPhidgetInterfaceKit_getSensorRawValue
int function(CPhidgetInterfaceKitHandle phid, int index, int* sensorRawValue) CPhidgetInterfaceKit_getSensorRawValue;

Gets a sensor raw value (12-bit).

CPhidgetInterfaceKit_getSensorValue
int function(CPhidgetInterfaceKitHandle phid, int index, int* sensorValue) CPhidgetInterfaceKit_getSensorValue;

Gets a sensor value (0-1000).

CPhidgetInterfaceKit_setDataRate
int function(CPhidgetInterfaceKitHandle phid, int index, int milliseconds) CPhidgetInterfaceKit_setDataRate;

Sets the Data Rate for an analog input.

CPhidgetInterfaceKit_setOutputState
int function(CPhidgetInterfaceKitHandle phid, int index, int outputState) CPhidgetInterfaceKit_setOutputState;

Sets the state of a digital output.

CPhidgetInterfaceKit_setRatiometric
int function(CPhidgetInterfaceKitHandle phid, int ratiometric) CPhidgetInterfaceKit_setRatiometric;

Sets the ratiometric state for this board.

CPhidgetInterfaceKit_setSensorChangeTrigger
int function(CPhidgetInterfaceKitHandle phid, int index, int trigger) CPhidgetInterfaceKit_setSensorChangeTrigger;

Sets a sensor change trigger.

CPhidgetInterfaceKit_set_OnInputChange_Handler
int function(CPhidgetInterfaceKitHandle phid, CPhidgetInterfaceKit_set_OnInputChange_Handler_Func fptr, void* userPtr) CPhidgetInterfaceKit_set_OnInputChange_Handler;

Set a digital input change handler. This is called when a digital input changes.

CPhidgetInterfaceKit_set_OnOutputChange_Handler
int function(CPhidgetInterfaceKitHandle phid, CPhidgetInterfaceKit_set_OnOutputChange_Handler_Func fptr, void* userPtr) CPhidgetInterfaceKit_set_OnOutputChange_Handler;

Set a digital output change handler. This is called when a digital output changs.

CPhidgetInterfaceKit_set_OnSensorChange_Handler
int function(CPhidgetInterfaceKitHandle phid, CPhidgetInterfaceKit_set_OnSensorChange_Handler_Func fptr, void* userPtr) CPhidgetInterfaceKit_set_OnSensorChange_Handler;

Set a sensor change handler. This is called when a sensor value changes by more then the change trigger.

Structs

_CPhidgetInterfaceKit
struct _CPhidgetInterfaceKit
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta